package alicuu.bean;


import alicuu.util.Tools;

import java.util.Date;

/**
 * Created by IntelliJ IDEA.
 * User: danny
 * Date: 17/03/02/
 * Time: 16:17
 */
public class TestInfo {

    private String name;
    private String srcIp;
    private String destIp;
    private String sTime;
    private Date dTime;

    public TestInfo() {
        this.name = Tools.getRandomString(10);
        this.srcIp = Tools.getRandomIp();
        this.destIp = Tools.getRandomIp();
        Date now = new Date();
        this.sTime = now.toString();
        this.dTime = now;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSrcIp() {
        return srcIp;
    }

    public void setSrcIp(String srcIp) {
        this.srcIp = srcIp;
    }

    public String getDestIp() {
        return destIp;
    }

    public void setDestIp(String destIp) {
        this.destIp = destIp;
    }

    public String getsTime() {
        return sTime;
    }

    public void setsTime(String sTime) {
        this.sTime = sTime;
    }

    public Date getdTime() {
        return dTime;
    }

    public void setdTime(Date dTime) {
        this.dTime = dTime;
    }
}
